Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Objects /
Chapter 4 - Colors and Color-Related Objects / Colors and Color-Related Objects Reference
Color Profile Functions / Creating and Manipulating Color Profile Objects


GXEqualColorProfile

You can use the GXEqualColorProfile function to determine whether two color profile objects are equal.

boolean GXEqualColorProfile(gxColorProfile one, 
                           gxColorProfile two);
one
A reference to one of the color profiles to test for equality.
two
A reference to the other color profile to test for equality.
function result
true if the color profiles are equal; false otherwise.
DESCRIPTION
The GXEqualColorProfile function tests two color profile objects for equality. For two color profiles to be equal, they must have exactly the same profile data, although their owner counts and tag lists need not be identical.

ERRORS, WARNINGS, AND NOTICES
Errors 
out_of_memory 
colorProfile_is_nil 
SEE ALSO
To make a copy of a color profile object that is equal by the criteria of this function, use the GXCopyToColorProfile function, described in the previous section.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996